home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / Frontier / Find Bogus Dates / findBogusDates / findBogusDates.rsrc / scpt_129 next >
Unknown  |  1992-03-12  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID DEGAS med-res bitmap default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 01 04 fe 00 02 00 00 | 01 aa 00 00 07 ff 00 00 |........|........|
|00000010| 02 00 00 0f 09 48 65 6c | 76 65 74 69 63 61 00 00 |.....Hel|vetica..|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 12 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 06 54 00 00 a4 bc | 6f 65 a5 e5 54 3d 00 00 |...T....|oe..T=..|
|00000050| 00 28 00 00 00 7a 00 61 | 02 d4 03 69 00 00 00 00 |.(...z.a|...i....|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 6f 6e 20 66 |........|....on f|
|00000080| 69 6e 64 42 6f 67 75 73 | 44 61 74 65 73 20 28 70 |indBogus|Dates (p|
|00000090| 61 74 68 29 0d 09 6c 6f | 63 61 6c 20 28 63 74 66 |ath)..lo|cal (ctf|
|000000a0| 69 78 65 64 20 3d 20 30 | 29 20 c7 6e 75 6d 62 65 |ixed = 0|) .numbe|
|000000b0| 72 20 6f 66 20 62 79 74 | 65 73 20 72 65 63 6c 61 |r of byt|es recla|
|000000c0| 69 6d 65 64 0d 09 6c 6f | 63 61 6c 20 28 63 74 6d |imed..lo|cal (ctm|
|000000d0| 61 74 63 68 65 73 20 3d | 20 30 29 20 c7 6e 75 6d |atches =| 0) .num|
|000000e0| 62 65 72 20 6f 66 20 66 | 69 6c 65 73 20 77 69 74 |ber of f|iles wit|
|000000f0| 68 20 62 6f 67 75 73 20 | 64 61 74 65 73 0d 09 6c |h bogus |dates..l|
|00000100| 6f 63 61 6c 20 28 63 6f | 6e 66 69 72 6d 61 74 69 |ocal (co|nfirmati|
|00000110| 6f 6e 64 69 73 61 62 6c | 65 64 20 3d 20 66 61 6c |ondisabl|ed = fal|
|00000120| 73 65 29 0d 09 6c 6f 63 | 61 6c 20 28 6e 6f 77 20 |se)..loc|al (now |
|00000130| 3d 20 63 6c 6f 63 6b 2e | 6e 6f 77 20 28 29 29 0d |= clock.|now ()).|
|00000140| 09 6c 6f 63 61 6c 20 28 | 63 61 6e 63 65 6c 6c 65 |.local (|cancelle|
|00000150| 64 20 3d 20 66 61 6c 73 | 65 29 0d 09 0d 09 6f 6e |d = fals|e)....on|
|00000160| 20 63 6f 6e 66 69 72 6d | 61 74 69 6f 6e 20 28 66 | confirm|ation (f|
|00000170| 2c 20 70 72 6f 6d 70 74 | 29 0d 09 09 69 66 20 63 |, prompt|)...if c|
|00000180| 6f 6e 66 69 72 6d 61 74 | 69 6f 6e 64 69 73 61 62 |onfirmat|iondisab|
|00000190| 6c 65 64 0d 09 09 09 69 | 66 20 63 61 6e 63 65 6c |led....i|f cancel|
|000001a0| 6c 65 64 0d 09 09 09 09 | 72 65 74 75 72 6e 20 28 |led.....|return (|
|000001b0| 66 61 6c 73 65 29 0d 09 | 09 09 63 74 66 69 78 65 |false)..|..ctfixe|
|000001c0| 64 2b 2b 0d 09 09 09 72 | 65 74 75 72 6e 20 28 74 |d++....r|eturn (t|
|000001d0| 72 75 65 29 0d 09 09 0d | 09 09 6c 6f 63 61 6c 20 |rue)....|..local |
|000001e0| 28 73 2c 20 72 65 73 75 | 6c 74 29 0d 09 09 73 20 |(s, resu|lt)...s |
|000001f0| 3d 20 22 54 68 65 20 66 | 69 6c 65 20 d2 22 20 2b |= "The f|ile ." +|
|00000200| 20 20 66 69 6c 65 2e 66 | 69 6c 65 46 72 6f 6d 50 | file.f|ileFromP|
|00000210| 61 74 68 20 28 66 29 20 | 2b 20 22 d3 20 22 20 2b |ath (f) |+ ". " +|
|00000220| 20 70 72 6f 6d 70 74 0d | 09 09 73 20 3d 20 73 20 | prompt.|..s = s |
|00000230| 2b 20 22 20 57 6f 75 6c | 64 20 79 6f 75 20 6c 69 |+ " Woul|d you li|
|00000240| 6b 65 20 74 6f 20 66 69 | 78 20 69 74 3f 22 0d 09 |ke to fi|x it?"..|
|00000250| 09 6d 73 67 20 28 22 4f | 70 74 69 6f 6e 2d 79 65 |.msg ("O|ption-ye|
|00000260| 73 20 64 69 73 61 62 6c | 65 73 20 63 6f 6e 66 69 |s disabl|es confi|
|00000270| 72 6d 61 74 69 6f 6e 20 | 64 69 61 6c 6f 67 2e 22 |rmation |dialog."|
|00000280| 29 0d 09 09 72 65 73 75 | 6c 74 20 3d 20 64 69 61 |)...resu|lt = dia|
|00000290| 6c 6f 67 2e 79 65 73 4e | 6f 43 61 6e 63 65 6c 20 |log.yesN|oCancel |
|000002a0| 28 73 29 0d 09 09 6d 73 | 67 20 28 22 22 29 0d 09 |(s)...ms|g ("")..|
|000002b0| 09 63 61 73 65 20 72 65 | 73 75 6c 74 0d 09 09 09 |.case re|sult....|
|000002c0| 31 20 c7 79 65 73 0d 09 | 09 09 09 69 66 20 6b 62 |1 .yes..|...if kb|
|000002d0| 2e 6f 70 74 69 6f 6e 4b | 65 79 20 28 29 0d 09 09 |.optionK|ey ()...|
|000002e0| 09 09 09 63 6f 6e 66 69 | 72 6d 61 74 69 6f 6e 64 |...confi|rmationd|
|000002f0| 69 73 61 62 6c 65 64 20 | 3d 20 74 72 75 65 0d 09 |isabled |= true..|
|00000300| 09 09 09 63 74 66 69 78 | 65 64 2b 2b 0d 09 09 09 |...ctfix|ed++....|
|00000310| 09 72 65 74 75 72 6e 20 | 28 74 72 75 65 29 0d 09 |.return |(true)..|
|00000320| 09 09 32 20 c7 6e 6f 0d | 09 09 09 09 72 65 74 75 |..2 .no.|....retu|
|00000330| 72 6e 20 28 66 61 6c 73 | 65 29 0d 09 09 09 33 20 |rn (fals|e)....3 |
|00000340| c7 63 61 6e 63 65 6c 0d | 09 09 09 09 63 61 6e 63 |.cancel.|....canc|
|00000350| 65 6c 6c 65 64 20 3d 20 | 74 72 75 65 0d 09 09 09 |elled = |true....|
|00000360| 09 63 6f 6e 66 69 72 6d | 61 74 69 6f 6e 64 69 73 |.confirm|ationdis|
|00000370| 61 62 6c 65 64 20 3d 20 | 74 72 75 65 0d 09 09 09 |abled = |true....|
|00000380| 09 72 65 74 75 72 6e 20 | 28 66 61 6c 73 65 29 0d |.return |(false).|
|00000390| 09 6f 6e 20 62 6f 67 75 | 73 43 68 65 63 6b 20 28 |.on bogu|sCheck (|
|000003a0| 66 29 0d 09 09 6c 6f 63 | 61 6c 20 28 63 72 65 61 |f)...loc|al (crea|
|000003b0| 74 65 64 20 3d 20 66 69 | 6c 65 2e 63 72 65 61 74 |ted = fi|le.creat|
|000003c0| 65 64 20 28 66 29 29 0d | 09 09 6c 6f 63 61 6c 20 |ed (f)).|..local |
|000003d0| 28 6d 6f 64 69 66 69 65 | 64 20 3d 20 66 69 6c 65 |(modifie|d = file|
|000003e0| 2e 6d 6f 64 69 66 69 65 | 64 20 28 66 29 29 0d 09 |.modifie|d (f))..|
|000003f0| 09 6c 6f 63 61 6c 20 28 | 6d 61 63 53 68 69 70 44 |.local (|macShipD|
|00000400| 61 74 65 20 3d 20 64 61 | 74 65 20 28 22 4a 61 6e |ate = da|te ("Jan|
|00000410| 75 61 72 79 20 32 34 2c | 20 31 39 38 34 22 29 29 |uary 24,| 1984"))|
|00000420| 0d 09 09 0d 09 09 69 66 | 20 63 72 65 61 74 65 64 |......if| created|
|00000430| 20 3c 20 6d 61 63 53 68 | 69 70 44 61 74 65 0d 09 | < macSh|ipDate..|
|00000440| 09 09 69 66 20 63 6f 6e | 66 69 72 6d 61 74 69 6f |..if con|firmatio|
|00000450| 6e 20 28 66 2c 20 22 77 | 61 73 20 63 72 65 61 74 |n (f, "w|as creat|
|00000460| 65 64 20 62 65 66 6f 72 | 65 20 74 68 65 72 65 20 |ed befor|e there |
|00000470| 77 65 72 65 20 61 6e 79 | 20 4d 61 63 69 6e 74 6f |were any| Macinto|
|00000480| 73 68 65 73 2e 22 29 0d | 09 09 09 09 66 69 6c 65 |shes.").|....file|
|00000490| 2e 73 65 74 43 72 65 61 | 74 65 64 20 28 66 2c 20 |.setCrea|ted (f, |
|000004a0| 6e 6f 77 29 0d 09 09 69 | 66 20 6d 6f 64 69 66 69 |now)...i|f modifi|
|000004b0| 65 64 20 3c 20 6d 61 63 | 53 68 69 70 44 61 74 65 |ed < mac|ShipDate|
|000004c0| 0d 09 09 09 69 66 20 63 | 6f 6e 66 69 72 6d 61 74 |....if c|onfirmat|
|000004d0| 69 6f 6e 20 28 66 2c 20 | 22 77 61 73 20 6d 6f 64 |ion (f, |"was mod|
|000004e0| 69 66 69 65 64 20 62 65 | 66 6f 72 65 20 74 68 65 |ified be|fore the|
|000004f0| 72 65 20 77 65 72 65 20 | 61 6e 79 20 4d 61 63 69 |re were |any Maci|
|00000500| 6e 74 6f 73 68 65 73 2e | 22 29 0d 09 09 09 09 66 |ntoshes.|").....f|
|00000510| 69 6c 65 2e 73 65 74 4d | 6f 64 69 66 69 65 64 20 |ile.setM|odified |
|00000520| 28 66 2c 20 6e 6f 77 29 | 0d 09 09 69 66 20 63 72 |(f, now)|...if cr|
|00000530| 65 61 74 65 64 20 3e 20 | 6e 6f 77 0d 09 09 09 69 |eated > |now....i|
|00000540| 66 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 20 28 |f confir|mation (|
|00000550| 66 2c 20 22 77 61 73 20 | 63 72 65 61 74 65 64 20 |f, "was |created |
|00000560| 69 6e 20 74 68 65 20 66 | 75 74 75 72 65 2e 22 29 |in the f|uture.")|
|00000570| 0d 09 09 09 09 66 69 6c | 65 2e 73 65 74 43 72 65 |.....fil|e.setCre|
|00000580| 61 74 65 64 20 28 66 2c | 20 6e 6f 77 29 0d 09 09 |ated (f,| now)...|
|00000590| 69 66 20 6d 6f 64 69 66 | 69 65 64 20 3e 20 6e 6f |if modif|ied > no|
|000005a0| 77 0d 09 09 09 69 66 20 | 63 6f 6e 66 69 72 6d 61 |w....if |confirma|
|000005b0| 74 69 6f 6e 20 28 66 2c | 20 22 77 61 73 20 6d 6f |tion (f,| "was mo|
|000005c0| 64 69 66 69 65 64 20 69 | 6e 20 74 68 65 20 66 75 |dified i|n the fu|
|000005d0| 74 75 72 65 2e 22 29 0d | 09 09 09 09 66 69 6c 65 |ture.").|....file|
|000005e0| 2e 73 65 74 4d 6f 64 69 | 66 69 65 64 20 28 66 2c |.setModi|fied (f,|
|000005f0| 20 6e 6f 77 29 0d 09 09 | 69 66 20 63 72 65 61 74 | now)...|if creat|
|00000600| 65 64 20 3e 20 6d 6f 64 | 69 66 69 65 64 0d 09 09 |ed > mod|ified...|
|00000610| 09 69 66 20 63 6f 6e 66 | 69 72 6d 61 74 69 6f 6e |.if conf|irmation|
|00000620| 20 28 66 2c 20 22 77 61 | 73 20 63 72 65 61 74 65 | (f, "wa|s create|
|00000630| 64 20 61 66 74 65 72 20 | 69 74 20 77 61 73 20 6d |d after |it was m|
|00000640| 6f 64 69 66 69 65 64 2e | 22 29 0d 09 09 09 09 66 |odified.|").....f|
|00000650| 69 6c 65 2e 73 65 74 43 | 72 65 61 74 65 64 20 28 |ile.setC|reated (|
|00000660| 66 2c 20 6d 6f 64 69 66 | 69 65 64 29 0d 09 0d 09 |f, modif|ied)....|
|00000670| 6f 6e 20 66 69 6e 64 49 | 6e 46 6f 6c 64 65 72 20 |on findI|nFolder |
|00000680| 28 66 6f 6c 64 65 72 29 | 0d 09 09 66 69 6c 65 6c |(folder)|...filel|
|00000690| 6f 6f 70 20 28 66 20 69 | 6e 20 66 6f 6c 64 65 72 |oop (f i|n folder|
|000006a0| 29 0d 09 09 09 69 66 20 | 63 61 6e 63 65 6c 6c 65 |)....if |cancelle|
|000006b0| 64 20 0d 09 09 09 09 72 | 65 74 75 72 6e 20 28 66 |d .....r|eturn (f|
|000006c0| 61 6c 73 65 29 0d 09 09 | 09 6d 73 67 20 28 66 69 |alse)...|.msg (fi|
|000006d0| 6c 65 2e 66 69 6c 65 46 | 72 6f 6d 50 61 74 68 20 |le.fileF|romPath |
|000006e0| 28 66 29 29 0d 09 09 09 | 72 6f 6c 6c 42 65 61 63 |(f))....|rollBeac|
|000006f0| 68 42 61 6c 6c 20 28 29 | 0d 09 09 09 62 6f 67 75 |hBall ()|....bogu|
|00000700| 73 43 68 65 63 6b 20 28 | 66 29 0d 09 09 09 69 66 |sCheck (|f)....if|
|00000710| 20 66 69 6c 65 2e 69 73 | 46 6f 6c 64 65 72 20 28 | file.is|Folder (|
|00000720| 66 29 0d 09 09 09 09 69 | 66 20 6e 6f 74 20 66 69 |f).....i|f not fi|
|00000730| 6e 64 49 6e 46 6f 6c 64 | 65 72 20 28 66 29 0d 09 |ndInFold|er (f)..|
|00000740| 09 09 09 09 72 65 74 75 | 72 6e 20 28 66 61 6c 73 |....retu|rn (fals|
|00000750| 65 29 0d 09 66 69 6e 64 | 49 6e 46 6f 6c 64 65 72 |e)..find|InFolder|
|00000760| 20 28 66 69 6c 65 2e 66 | 6f 6c 64 65 72 46 72 6f | (file.f|olderFro|
|00000770| 6d 50 61 74 68 20 28 70 | 61 74 68 29 29 0d 09 69 |mPath (p|ath))..i|
|00000780| 66 20 6e 6f 74 20 63 61 | 6e 63 65 6c 6c 65 64 0d |f not ca|ncelled.|
|00000790| 09 09 69 66 20 63 74 66 | 69 78 65 64 20 3d 3d 20 |..if ctf|ixed == |
|000007a0| 30 0d 09 09 09 73 20 3d | 20 66 69 6c 65 2e 66 69 |0....s =| file.fi|
|000007b0| 6c 65 46 72 6f 6d 50 61 | 74 68 20 28 66 69 6c 65 |leFromPa|th (file|
|000007c0| 2e 66 6f 6c 64 65 72 46 | 72 6f 6d 50 61 74 68 20 |.folderF|romPath |
|000007d0| 28 70 61 74 68 29 29 0d | 09 09 09 73 20 3d 20 22 |(path)).|...s = "|
|000007e0| 44 69 64 6e d5 74 20 66 | 69 78 20 66 69 6c 65 73 |Didn.t f|ix files|
|000007f0| 20 77 69 74 68 20 62 6f | 67 75 73 20 64 61 74 65 | with bo|gus date|
|00000800| 73 20 69 6e 20 74 68 65 | 20 d2 22 20 2b 20 73 20 |s in the| ." + s |
|00000810| 2b 20 22 d3 20 66 6f 6c | 64 65 72 2e 22 0d 09 09 |+ ". fol|der."...|
|00000820| 09 64 69 61 6c 6f 67 2e | 61 6c 65 72 74 20 28 73 |.dialog.|alert (s|
|00000830| 29 0d 09 09 65 6c 73 65 | 0d 09 09 09 64 69 61 6c |)...else|....dial|
|00000840| 6f 67 2e 61 6c 65 72 74 | 20 28 22 46 69 78 65 64 |og.alert| ("Fixed|
|00000850| 20 22 20 2b 20 63 74 66 | 69 78 65 64 20 2b 20 22 | " + ctf|ixed + "|
|00000860| 20 66 69 6c 65 73 20 77 | 69 74 68 20 62 6f 67 75 | files w|ith bogu|
|00000870| 73 20 64 61 74 65 73 21 | 22 29 0d 80 00 00 00 00 |s dates!|")......|
|00000880| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00000890| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000008a0| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+